import observe from "./observe";

var obj = {
  a: {
    m: {
      n: 5
    }
  },
  b: 10,
  g: [11,2,3,4]
}



observe(obj)
obj.g.splice(1, 1, 66)
console.log(obj.g)

